package com.yun.zhong.fu.codelianxi.entity;

import java.util.List;

/**
 * @Author RenPu
 * @Date 2021/1/18 14:23
 * @Version 1.0
 * @Description:
 **/
public class PageInfo<T> {

    private int page; //当前页码

    private int limit;//每页显示的数据量

    private int dataSize;//数据总数

    private List<T> dataList;//数据集

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getDataSize() {
        return dataSize;
    }

    public void setDataSize(int dataSize) {
        this.dataSize = dataSize;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }


}
